User-defined Property objects cannot be set to Null. Instead, use the Delete method on the property to remove it from its collection.